package school.entity;

import java.io.Serializable;
import java.util.Date;

public class Student implements Serializable {
	private String sname, telephone, sex, wechat, fromcity, pass, addr;
	private long stuno, gradeid;
	private Date birthday, enterDate;

	public Student() {
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getWechat() {
		return wechat;
	}

	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public String getFromcity() {
		return fromcity;
	}

	public void setFromcity(String fromcity) {
		this.fromcity = fromcity;
	}

	public String getPass() {
		return pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public long getStuno() {
		return stuno;
	}

	public void setStuno(long stuno) {
		this.stuno = stuno;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public long getGradeid() {
		return gradeid;
	}

	public void setGradeid(long gradeid) {
		this.gradeid = gradeid;
	}

	public Date getEnterDate() {
		return enterDate;
	}

	public void setEnterDate(Date enterDate) {
		this.enterDate = enterDate;
	}

	@Override
	public String toString() {
		return "Student [sname=" + sname + ", telephone=" + telephone
				+ ", sex=" + sex + ", wechat=" + wechat + ", fromcity="
				+ fromcity + ", pass=" + pass + ", addr=" + addr + ", stuno="
				+ stuno + ", gradeid=" + gradeid + ", birthday=" + birthday
				+ ", enterDate=" + enterDate + "]";
	}
}
